import Vue from 'vue'
// 按需引入组件

import {
  Button,
  Empty,
  Rate,
  Input,
  Message,
  Link,
  Icon,
  Avatar,
  Form,
  FormItem,
  Dialog,
  Upload,
  Loading,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  DatePicker,
  Pagination,
  Tooltip,
  Notification,
  Image,
  Menu,
  Submenu,
  MenuItemGroup,
  MenuItem,
  Tabs,
  TabPane
} from 'element-ui'
Vue.use(Button)
Vue.use(Empty)
Vue.use(Rate)
Vue.use(Input)
Vue.use(Link)
Vue.use(Icon)
Vue.use(Avatar)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Dialog)
Vue.use(Upload)
Vue.use(Loading)
Vue.use(Dropdown)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(DatePicker)
Vue.use(Pagination)
Vue.use(Tooltip)
Vue.use(Image)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItemGroup)
Vue.use(MenuItem)
Vue.use(Tabs)
Vue.use(TabPane)

Vue.prototype.$notify = Notification
Vue.prototype.$message = Message
